package com.manager.gen.module.dao.file;

import com.manager.commons.mybatis.annotation.MyBatisDao;
import com.manager.commons.mybatis.dao.GenericDao;
import com.manager.gen.module.entity.file.GenFileUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * GenFileUserDao
 * 文件目录权限关联
 *
 * @author manager
 * @version 1.0
 */
@MyBatisDao
public interface GenFileUserDao extends GenericDao<GenFileUser> {
    //查询当前
    List<String> queryFileUser(Map<String, Object> map);

    //删除原有数据
    int deleteFileUser(Map<String, Object> map);

    List<String> queryFilesUserId(@Param("_id") String _id);
}
